```html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智能健康分析报告</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background-color: #f8fafc;
            color: #1e293b;
            line-height: 1.6;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
        }
        .glass-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        }
        .section-title {
            position: relative;
            padding-bottom: 0.5rem;
        }
        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 3rem;
            height: 3px;
            background: linear-gradient(90deg, #4f46e5, #7c3aed);
        }
        .radar-chart-container {
            position: relative;
            height: 300px;
        }
        .circle-progress {
            position: relative;
            width: 120px;
            height: 120px;
        }
        .circle-progress svg {
            transform: rotate(-90deg);
        }
        .circle-progress circle {
            fill: none;
            stroke-linecap: round;
        }
        .circle-progress-bg {
            stroke: #e2e8f0;
        }
        .circle-progress-fill {
            stroke: #4f46e5;
            animation: fillAnimation 1.5s ease-in-out forwards;
        }
        @keyframes fillAnimation {
            0% { stroke-dashoffset: 314; }
            100% { stroke-dashoffset: var(--dashoffset); }
        }
        .hover-scale {
            transition: transform 0.3s ease;
        }
        .hover-scale:hover {
            transform: scale(1.03);
        }
        .fade-in {
            animation: fadeIn 0.8s ease-in forwards;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
    </style>
</head>
<body class="antialiased">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-4 md:px-0">
        <div class="container mx-auto max-w-6xl px-4">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-10 md:mb-0 fade-in" style="animation-delay: 0.1s;">
                    <h1 class="text-4xl md:text-5xl font-bold mb-4 leading-tight">您的个性化<br>健康分析报告</h1>
                    <p class="text-xl mb-8 opacity-90">基于科学数据的健康评估与改善计划</p>
                    <div class="flex items-center space-x-4">
                        <div class="flex items-center">
                            <i class="fas fa-shield-alt text-2xl mr-2"></i>
                            <span>专业评估</span>
                        </div>
                        <div class="flex items-center">
                            <i class="fas fa-chart-line text-2xl mr-2"></i>
                            <span>数据可视化</span>
                        </div>
                    </div>
                </div>
                <div class="md:w-1/2 flex justify-center fade-in" style="animation-delay: 0.3s;">
                    <div class="glass-card rounded-2xl p-6 max-w-md w-full">
                        <h3 class="text-xl font-semibold mb-4 text-gray-800">健康快照</h3>
                        <div class="grid grid-cols-2 gap-4">
                            <div class="bg-indigo-50 rounded-lg p-4">
                                <p class="text-sm text-indigo-600 mb-1">BMI指数</p>
                                <p class="text-2xl font-bold text-indigo-800">22.3</p>
                                <p class="text-xs text-indigo-600">健康范围</p>
                            </div>
                            <div class="bg-purple-50 rounded-lg p-4">
                                <p class="text-sm text-purple-600 mb-1">睡眠质量</p>
                                <p class="text-2xl font-bold text-purple-800">7.2/10</p>
                                <p class="text-xs text-purple-600">中等偏上</p>
                            </div>
                            <div class="bg-blue-50 rounded-lg p-4">
                                <p class="text-sm text-blue-600 mb-1">运动频率</p>
                                <p class="text-2xl font-bold text-blue-800">3次/周</p>
                                <p class="text-xs text-blue-600">建议增加</p>
                            </div>
                            <div class="bg-emerald-50 rounded-lg p-4">
                                <p class="text-sm text-emerald-600 mb-1">压力水平</p>
                                <p class="text-2xl font-bold text-emerald-800">6/10</p>
                                <p class="text-xs text-emerald-600">中等偏高</p>
                            </div>
                        </div>
                        <div class="mt-4 pt-4 border-t border-gray-200">
                            <p class="text-sm text-gray-600">生成时间: <span class="font-medium">2025年5月30日</span></p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <div class="container mx-auto max-w-6xl px-4 py-12">
        <!-- Health Overview -->
        <section class="mb-16 fade-in">
            <h2 class="section-title text-2xl font-bold mb-8 text-gray-800">健康画像总览</h2>
            <div class="bg-white rounded-xl shadow-md overflow-hidden hover-scale">
                <div class="p-6 md:p-8">
                    <div class="radar-chart-container">
                        <canvas id="radarChart"></canvas>
                    </div>
                    <div class="mt-6 grid grid-cols-2 md:grid-cols-4 gap-4">
                        <div class="flex items-start">
                            <div class="bg-indigo-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-heartbeat text-indigo-600"></i>
                            </div>
                            <div>
                                <p class="font-medium">身体指标</p>
                                <p class="text-sm text-gray-500">良好</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="bg-blue-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-moon text-blue-600"></i>
                            </div>
                            <div>
                                <p class="font-medium">睡眠质量</p>
                                <p class="text-sm text-gray-500">中等偏上</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="bg-purple-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-running text-purple-600"></i>
                            </div>
                            <div>
                                <p class="font-medium">运动习惯</p>
                                <p class="text-sm text-gray-500">需要改善</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="bg-emerald-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-brain text-emerald-600"></i>
                            </div>
                            <div>
                                <p class="font-medium">压力管理</p>
                                <p class="text-sm text-gray-500">关注提高</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Body Metrics -->
        <section class="mb-16 fade-in" style="animation-delay: 0.2s;">
            <h2 class="section-title text-2xl font-bold mb-8 text-gray-800">身体指标分析</h2>
            <div class="grid md:grid-cols-2 gap-6">
                <div class="bg-white rounded-xl shadow-md p-6 hover-scale">
                    <h3 class="font-semibold text-lg mb-4 text-gray-800">BMI趋势分析</h3>
                    <div class="h-64">
                        <canvas id="bmiChart"></canvas>
                    </div>
                    <div class="mt-4">
                        <p class="text-sm text-gray-600">您的BMI指数为 <span class="font-bold text-indigo-600">22.3</span>，属于正常范围(18.5-24)。保持健康饮食和规律运动有助于维持理想体重。</p>
                    </div>
                </div>
                <div class="bg-white rounded-xl shadow-md p-6 hover-scale">
                    <h3 class="font-semibold text-lg mb-4 text-gray-800">血压与心率</h3>
                    <div class="h-64">
                        <canvas id="bloodPressureChart"></canvas>
                    </div>
                    <div class="mt-4">
                        <p class="text-sm text-gray-600">静息心率 <span class="font-bold text-blue-600">70次/分钟</span> 和血压 <span class="font-bold text-purple-600">120/80 mmHg</span> 均在正常范围内。</p>
                    </div>
                </div>
            </div>
        </section>

        <!-- Lifestyle Assessment -->
        <section class="mb-16 fade-in" style="animation-delay: 0.3s;">
            <h2 class="section-title text-2xl font-bold mb-8 text-gray-800">生活方式评分</h2>
            <div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
                <div class="bg-white rounded-xl shadow-md p-6 text-center hover-scale">
                    <div class="circle-progress mx-auto mb-4">
                        <svg viewBox="0 0 100 100">
                            <circle class="circle-progress-bg" cx="50" cy="50" r="45" stroke-width="6"></circle>
                            <circle class="circle-progress-fill" cx="50" cy="50" r="45" stroke-width="6" stroke-dasharray="314" style="--dashoffset: 94;"></circle>
                        </svg>
                        <div class="absolute inset-0 flex items-center justify-center">
                            <span class="text-2xl font-bold text-indigo-800">7.5</span>
                        </div>
                    </div>
                    <h3 class="font-semibold text-gray-800">饮食质量</h3>
                    <p class="text-sm text-gray-500 mt-1">改进空间: 减少油脂摄入</p>
                </div>
                <div class="bg-white rounded-xl shadow-md p-6 text-center hover-scale">
                    <div class="circle-progress mx-auto mb-4">
                        <svg viewBox="0 0 100 100">
                            <circle class="circle-progress-bg" cx="50" cy="50" r="45" stroke-width="6"></circle>
                            <circle class="circle-progress-fill" cx="50" cy="50" r="45" stroke-width="6" stroke-dasharray="314" style="--dashoffset: 125;"></circle>
                        </svg>
                        <div class="absolute inset-0 flex items-center justify-center">
                            <span class="text-2xl font-bold text-blue-800">6.0</span>
                        </div>
                    </div>
                    <h3 class="font-semibold text-gray-800">运动频率</h3>
                    <p class="text-sm text-gray-500 mt-1">建议增加运动量</p>
                </div>
                <div class="bg-white rounded-xl shadow-md p-6 text-center hover-scale">
                    <div class="circle-progress mx-auto mb-4">
                        <svg viewBox="0 0 100 100">
                            <circle class="circle-progress-bg" cx="50" cy="50" r="45" stroke-width="6"></circle>
                            <circle class="circle-progress-fill" cx="50" cy="50" r="45" stroke-width="6" stroke-dasharray="314" style="--dashoffset: 157;"></circle>
                        </svg>
                        <div class="absolute inset-0 flex items-center justify-center">
                            <span class="text-2xl font-bold text-purple-800">5.0</span>
                        </div>
                    </div>
                    <h3 class="font-semibold text-gray-800">睡眠质量</h3>
                    <p class="text-sm text-gray-500 mt-1">中等偏上</p>
                </div>
                <div class="bg-white rounded-xl shadow-md p-6 text-center hover-scale">
                    <div class="circle-progress mx-auto mb-4">
                        <svg viewBox="0 0 100 100">
                            <circle class="circle-progress-bg" cx="50" cy="50" r="45" stroke-width="6"></circle>
                            <circle class="circle-progress-fill" cx="50" cy="50" r="45" stroke-width="6" stroke-dasharray="314" style="--dashoffset: 188;"></circle>
                        </svg>
                        <div class="absolute inset-0 flex items-center justify-center">
                            <span class="text-2xl font-bold text-emerald-800">4.0</span>
                        </div>
                    </div>
                    <h3 class="font-semibold text-gray-800">压力管理</h3>
                    <p class="text-sm text-gray-500 mt-1">需更多放松</p>
                </div>
            </div>
        </section>

        <!-- Risk Warning -->
        <section class="mb-16 fade-in" style="animation-delay: 0.4s;">
            <h2 class="section-title text-2xl font-bold mb-8 text-gray-800">健康风险预警</h2>
            <div class="bg-gradient-to-r from-red-50 to-orange-50 rounded-xl shadow-md p-6 hover-scale">
                <div class="flex items-start">
                    <div class="bg-red-100 p-3 rounded-lg mr-4">
                        <i class="fas fa-exclamation-triangle text-red-600 text-xl"></i>
                    </div>
                    <div>
                        <h3 class="font-semibold text-lg text-gray-800 mb-2">长期久坐风险</h3>
                        <p class="text-gray-600">根据您的工作性质(经常加班)和运动频率(每周2次)，长期久坐可能增加心血管疾病和代谢综合征风险。建议每小时起身活动2-3分钟。</p>
                        <div class="mt-4">
                            <div class="flex items-center mb-2">
                                <div class="w-3 h-3 bg-red-500 rounded-full mr-2"></div>
                                <span class="text-sm font-medium">风险等级: 中等</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Action Plan -->
        <section class="mb-16 fade-in" style="animation-delay: 0.5s;">
            <h2 class="section-title text-2xl font-bold mb-8 text-gray-800">健康行动计划</h2>
            <div class="bg-white rounded-xl shadow-md overflow-hidden hover-scale">
                <div class="p-6">
                    <h3 class="font-semibold text-lg mb-6 text-gray-800">基于福格行为模型的微习惯建议</h3>
                    <div class="space-y-6">
                        <div class="flex items-start">
                            <div class="bg-indigo-100 p-3 rounded-lg mr-4">
                                <i class="fas fa-utensils text-indigo-600"></i>
                            </div>
                            <div>
                                <h4 class="font-medium text-gray-800 mb-1">饮食改善</h4>
                                <p class="text-sm text-gray-600 mb-2">每天至少一餐包含新鲜蔬菜(至少200克)</p>
                                <div class="text-xs text-gray-500">
                                    <span class="font-medium">触发器:</span> 午餐时间 | 
                                    <span class="font-medium">进阶路径:</span> 逐步增加到两餐 | 
                                    <span class="font-medium">预期收益:</span> 改善消化，降低心血管风险
                                </div>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="bg-blue-100 p-3 rounded-lg mr-4">
                                <i class="fas fa-walking text-blue-600"></i>
                            </div>
                            <div>
                                <h4 class="font-medium text-gray-800 mb-1">增加运动</h4>
                                <p class="text-sm text-gray-600 mb-2">工作日每小时站立活动2分钟(倒水、伸展等)</p>
                                <div class="text-xs text-gray-500">
                                    <span class="font-medium">触发器:</span> 电脑屏幕定时提醒 | 
                                    <span class="font-medium">进阶路径:</span> 逐步增加步行时间 | 
                                    <span class="font-medium">预期收益:</span> 改善循环，减轻久坐危害
                                </div>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="bg-purple-100 p-3 rounded-lg mr-4">
                                <i class="fas fa-bed text-purple-600"></i>
                            </div>
                            <div>
                                <h4 class="font-medium text-gray-800 mb-1">睡眠优化</h4>
                                <p class="text-sm text-gray-600 mb-2">睡前30分钟不使用电子设备(阅读纸质书替代)</p>
                                <div class="text-xs text-gray-500">
                                    <span class="font-medium">触发器:</span> 晚上10点 | 
                                    <span class="font-medium">进阶路径:</span> 逐步提前睡前准备时间 | 
                                    <span class="font-medium">预期收益:</span> 提高睡眠质量，降低压力
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Timeline -->
        <section class="fade-in" style="animation-delay: 0.6s;">
            <h2 class="section-title text-2xl font-bold mb-8 text-gray-800">健康改善路线图</h2>
            <div class="bg-white rounded-xl shadow-md overflow-hidden hover-scale">
                <div class="p-6">
                    <div class="relative">
                        <!-- Timeline -->
                        <div class="border-l-2 border-gray-200 absolute h-full left-4 md:left-1/2 transform -translate-x-1/2"></div>
                        
                        <!-- Timeline items -->
                        <div class="space-y-8">
                            <!-- Month 1-3 -->
                            <div class="relative pl-8 md:pl-0 md:flex justify-between items-center">
                                <div class="md:w-5/12 md:pr-8 md:text-right mb-4 md:mb-0">
                                    <h4 class="font-semibold text-indigo-600">第一阶段 (1-3个月)</h4>
                                    <p class="text-sm text-gray-600">建立基础健康习惯</p>
                                </div>
                                <div class="absolute w-4 h-4 bg-indigo-500 rounded-full left-0 md:left-1/2 transform -translate-x-1/2"></div>
                                <div class="md:w-5/12">
                                    <ul class="list-disc pl-5 text-sm text-gray-700">
                                        <li>每日蔬菜摄入达标</li>
                                        <li>建立每小时活动习惯</li>
                                        <li>睡前30分钟无屏幕时间</li>
                                    </ul>
                                </div>
                            </div>
                            
                            <!-- Month 4-6 -->
                            <div class="relative pl-8 md:pl-0 md:flex justify-between items-center">
                                <div class="md:hidden mb-4">
                                    <h4 class="font-semibold text-blue-600">第二阶段 (4-6个月)</h4>
                                    <p class="text-sm text-gray-600">巩固提升生活习惯</p>
                                </div>
                                <div class="absolute w-4 h-4 bg-blue-500 rounded-full left-0 md:left-1/2 transform -translate-x-1/2"></div>
                                <div class="md:w-5/12 order-first hidden md:block">
                                    <ul class="list-disc pl-5 text-sm text-gray-700">
                                        <li>每周3-4次中等强度运动</li>
                                        <li>优化饮食结构</li>
                                        <li>建立规律作息</li>
                                    </ul>
                                </div>
                                <div class="md:w-5/12 md:pl-8 md:text-left hidden md:block">
                                    <h4 class="font-semibold text-blue-600">第二阶段 (4-6个月)</h4>
                                    <p class="text-sm text-gray-600">巩固提升生活习惯</p>
                                </div>
                                <div class="md:hidden">
                                    <ul class="list-disc pl-5 text-sm text-gray-700">
                                        <li>每周3-4次中等强度运动</li>
                                        <li>优化饮食结构</li>
                                        <li>建立规律作息</li>
                                    </ul>
                                </div>
                            </div>
                            
                            <!-- Long-term -->
                            <div class="relative pl-8 md:pl-0 md:flex justify-between items-center">
                                <div class="md:w-5/12 md:pr-8 md:text-right mb-4 md:mb-0">
                                    <h4 class="font-semibold text-purple-600">长期计划 (6个月+)</h4>
                                    <p class="text-sm text-gray-600">维持健康生活方式</p>
                                </div>
                                <div class="absolute w-4 h-4 bg-purple-500 rounded-full left-0 md:left-1/2 transform -translate-x-1/2"></div>
                                <div class="md:w-5/12">
                                    <ul class="list-disc pl-5 text-sm text-gray-700">
                                        <li>自主调节饮食运动平衡</li>
                                        <li>定期健康指标监测</li>
                                        <li>建立应对压力机制</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <script>
        // Radar Chart
        const radarCtx = document.getElementById('radarChart').getContext('2d');
        const radarChart = new Chart(radarCtx, {
            type: 'radar',
            data: {
                labels: ['身体指标', '饮食营养', '运动习惯', '睡眠质量', '压力管理', '水分摄入'],
                datasets: [{
                    label: '您的健康评分',
                    data: [8, 7.5, 6, 7.2, 4, 6.5],
                    backgroundColor: 'rgba(79, 70, 229, 0.2)',
                    borderColor: 'rgba(79, 70, 229, 1)',
                    borderWidth: 2,
                    pointBackgroundColor: 'rgba(79, 70, 229, 1)',
                    pointRadius: 4
                }, {
                    label: '健康目标',
                    data: [10, 9, 8, 9, 7, 8],
                    backgroundColor: 'rgba(124, 58, 237, 0.1)',
                    borderColor: 'rgba(124, 58, 237, 0.5)',
                    borderWidth: 1,
                    borderDash: [5, 5],
                    pointRadius: 0
                }]
            },
            options: {
                scales: {
                    r: {
                        angleLines: {
                            display: true,
                            color: 'rgba(0, 0, 0, 0.1)'
                        },
                        suggestedMin: 0,
                        suggestedMax: 10,
                        ticks: {
                            stepSize: 2
                        }
                    }
                },
                plugins: {
                    legend: {
                        position: 'bottom',
                    }
                },
                elements: {
                    line: {
                        tension: 0.1
                    }
                }
            }
        });

        // BMI Chart
        const bmiCtx = document.getElementById('bmiChart').getContext('2d');
        const bmiChart = new Chart(bmiCtx, {
            type: 'line',
            data: {
                labels: ['1月', '2月', '3月', '4月', '5月', '当前'],
                datasets: [{
                    label: 'BMI指数',
                    data: [23.5, 23.2, 22.8, 22.5, 22.4, 22.3],
                    borderColor: 'rgba(79, 70, 229, 1)',
                    backgroundColor: 'rgba(79, 70, 229, 0.1)',
                    borderWidth: 3,
                    fill: true,
                    tension: 0.3
                }, {
                    label: '健康上限',
                    data: [24, 24, 24, 24, 24, 24],
                    borderColor: 'rgba(239, 68, 68, 0.7)',
                    borderWidth: 1,
                    borderDash: [5, 5],
                    fill: false
                }, {
                    label: '健康下限',
                    data: [18.5, 18.5, 18.5, 18.5, 18.5, 18.5],
                    borderColor: 'rgba(239, 68, 68, 0.7)',
                    borderWidth: 1,
                    borderDash: [5, 5],
                    fill: false
                }]
            },
            options: {
                responsive: true,
                plugins: {
                    legend: {
                        position: 'bottom',
                    },
                    tooltip: {
                        callbacks: {
                            label: function(context) {
                                let label = context.dataset.label || '';
                                if (label) {
                                    label += ': ';
                                }
                                if (context.parsed.y !== null) {
                                    label += context.parsed.y;
                                }
                                return label;
                            }
                        }
                    }
                },
                scales: {
                    y: {
                        beginAtZero: false,
                        min: 17,
                        max: 25
                    }
                }
            }
        });

        // Blood Pressure Chart
        const bpCtx = document.getElementById('bloodPressureChart').getContext('2d');
        const bpChart = new Chart(bpCtx, {
            type: 'scatter',
            data: {
                datasets: [{
                    label: '您的血压',
                    data: [{
                        x: 120,
                        y: 80
                    }],
                    backgroundColor: 'rgba(79, 70, 229, 1)',
                    pointRadius: 10
                }, {
                    label: '理想血压',
                    data: [{
                        x: 110,
                        y: 70
                    }],
                    backgroundColor: 'rgba(16, 185, 129, 1)',
                    pointRadius: 8
                }, {
                    label: '高血压风险区',
                    data: Array.from({length: 10}, (_, i) => ({
                        x: 140 + Math.random() * 20,
                        y: 90 + Math.random() * 15
                    })),
                    backgroundColor: 'rgba(239, 68, 68, 0.5)',
                    pointRadius: 5
                }, {
                    label: '正常范围',
                    data: Array.from({length: 15}, (_, i) => ({
                        x: 90 + Math.random() * 40,
                        y: 60 + Math.random() * 20
                    })),
                    backgroundColor: 'rgba(156, 163, 175, 0.2)',
                    pointRadius: 3
                }]
            },
            options: {
                responsive: true,
                plugins: {
                    legend: {
                        position: 'bottom',
                    },
                    tooltip: {
                        callbacks: {
                            label: function(context) {
                                let label = context.dataset.label || '';
                                if (label) {
                                    label += ': ';
                                }
                                if (context.parsed.x !== null && context.parsed.y !== null) {
                                    label += context.parsed.x + '/' + context.parsed.y + ' mmHg';
                                }
                                return label;
                            }
                        }
                    }
                },
                scales: {
                    x: {
                        title: {
                            display: true,
                            text: '收缩压 (mmHg)'
                        },
                        min: 80,
                        max: 180
                    },
                    y: {
                        title: {
                            display: true,
                            text: '舒张压 (mmHg)'
                        },
                        min: 50,
                        max: 120
                    }
                }
            }
        });

        // Animation on scroll
        document.addEventListener('DOMContentLoaded', function() {
            const fadeElements = document.querySelectorAll('.fade-in');
            
            const fadeObserver = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.style.opacity = 1;
                        entry.target.style.transform = 'translateY(0)';
                        fadeObserver.unobserve(entry.target);
                    }
                });
            }, {
                threshold: 0.1
            });
            
            fadeElements.forEach(el => {
                el.style.opacity = 0;
                el.style.transform = 'translateY(20px)';
                el.style.transition = 'opacity 0.6s ease, transform 0.6s ease';
                fadeObserver.observe(el);
            });
            
            // Print button functionality
            const printButton = document.createElement('button');
            printButton.className = 'fixed bottom-6 right-6 bg-indigo-600 hover:bg-indigo-700 text-white font-medium py-3 px-4 rounded-full shadow-lg flex items-center';
            printButton.innerHTML = '<i class="fas fa-print mr-2"></i> 打印报告';
            printButton.onclick = () => window.print();
            document.body.appendChild(printButton);
        });
    </script>
</body>
</html>
```